<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
		<script type="text/javascript" src="js/jquery-1.2.6.js"></script>
		<script type="text/javascript" src="js/chinese.js"></script>
		<link type="text/css" rel="stylesheet" href="style/style.css" />
		<title></title>
</head>
<body class="gui">
<div id="wrapper">
<div id="content">
<div id="header">
<div id="logo">
<h1>Control Panel</h1>
</div>
</div>
<div id="main">
<div id="contents">
<form name="filters" action="#" method="post" >
<fieldset>
<legend>&#160;Transmit Statistics&#160;</legend>
<div class="frame_tab_layer">
   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="cmenutitle">
 		<tr>
    <td class="frame_tab_left">Tx Success</td>
    <td class="frame_tab_right" id="TxSucc"></td>
  </tr>
  <tr>
    <td class="frame_tab_left">Tx Retry Count</td>
    <td class="frame_tab_right" id="TxRetry"></td>
  <tr>
    <td class="frame_tab_left">Tx Fail after retry</td>
    <td class="frame_tab_right" id="TxFail"></td>
  <tr>
    <td class="frame_tab_left">RTS Sucessfully Receive CTS</td>
    <td class="frame_tab_right" id="RTSSucc"></td>
  </tr>
  <tr>
    <td class="frame_tab_left">RTS Fail To Receive CTS</td>
    <td class="frame_tab_right" id="RTSFail"></td>
  </tr>
      </table>
      </div>
</fieldset>
<fieldset>
<legend>&#160;Receive Statistics&#160;</legend>
<div class="frame_tab_layer">
   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="cmenutitle">
 		<tr>
    <td class="frame_tab_left">Frames Received Successfully</td>
    <td class="frame_tab_right" id="RxSucc"></td>
  </tr>
  <tr>
    <td class="frame_tab_left">Frames Received With CRC Error</td>
    <td class="frame_tab_right" id="FCSError"></td>
  </tr>
      </table>
      </div>
</fieldset>
<fieldset>
<legend>&#160;SNR&#160;</legend>
<div class="frame_tab_layer">
   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="cmenutitle">
 		<tr>
    <td class="frame_tab_left">SNR</td>
    <td class="frame_tab_right" id="SNR"></td>
  </tr>
      </table>
      </div>
</fieldset>
<div class="submitFooter">
<script type="text/javascript">
//<![CDATA[
submitFooterButton(1,0);
//]]>
</script>
</div>
</form>
</div>
</div>
<br/>
<div id="helpContainer">
<div id="help">
<div><h2><img src="images/help_title.png" border="0"/><script type="text/javascript">Capture(share.help)</script></h2></div>
<dl>
<dt class="term">AP Wireless Statistics:</dt>
<dd class="definition">Wireless TX and RX Statistics</dd>
</dl>
</div>
</div>

<div id="floatKiller"></div>
<div id="statusInfo">

<div class="info"><span id="loginuser"></span></div>
<!--<div class="info"><script type="text/javascript">Capture(share.logintime)</script><span id="uptime"></span></div>-->
<div class="info"><button class="logout" onclick="reboot();"><img src="images/reboot.gif" border="0">&#160;<script type="text/javascript">Capture(tools.td10)</script></button><button class="logout" onclick="logout();"><img src="images/logout.gif" border="0">&#160;<script type="text/javascript">Capture(share.logout)</script></button></div>
</div>

</div>
</div>
<div id="lock_div">&nbsp; </div>
<div id="lock_div2">&nbsp;</div>
<div id="message_panel"><span id="mess">&nbsp;</span><br/>
  <br/>
  <img src="images/jd.gif"/>
</div><script type="text/javascript">
	setTimeout("height_div()",500);
		net_load();
		</script>
<script type="text/javascript" src="lib.js"></script>
<script type="text/javascript" src="js/message_panel.js"></script>
<script type="text/javascript" src="js/libTable.js"></script>
<script type="text/javascript">
	load_html();
	function load_html(){
	DataRequest("/cgi-bin/stat?apstatus","",function(data){
		$("#TxSucc").html(data["TxSucc"]);
		$("#TxRetry").html(data["TxRetry"]);
		$("#TxFail").html(data["TxFail"]);
		$("#RTSSucc").html(data["RTSSucc"]);
		$("#RTSFail").html(data["RTSFail"]);
		$("#RxSucc").html(data["RxSucc"]);
		$("#FCSError").html(data["FCSError"]);
		$("#SNR").html(data["SNR"]);
	});
}
setInterval( "load_html()",2000);
</script>
</body>
</html>